package com.gxg.entities;

import java.sql.Timestamp;
import org.json.JSONObject;

public class StudentUser
{
  private String studentId;
  private String teacherName;
  private String tel;
  private String classId;
  private String passWord;
  private String studentName;
  private Timestamp timestamp;
  
  public Timestamp getTimestamp()
  {
    return this.timestamp;
  }
  
  public void setTimestamp(Timestamp timestamp)
  {
    this.timestamp = timestamp;
  }
  
  public String getStudentName()
  {
    return this.studentName;
  }
  
  public void setStudentName(String studentName)
  {
    this.studentName = studentName;
  }
  
  public String getStudentId()
  {
    return this.studentId;
  }
  
  public String getteacherName()
  {
    return this.teacherName;
  }
  
  public String getTel()
  {
    return this.tel;
  }
  
  public String getClassId()
  {
    return this.classId;
  }
  
  public String getPassWord()
  {
    return this.passWord;
  }
  
  public void setStudentId(String studentId)
  {
    this.studentId = studentId;
  }
  
  public void setteacherName(String teacherName)
  {
    this.teacherName = teacherName;
  }
  
  public void setTel(String tel)
  {
    this.tel = tel;
  }
  
  public void setClassId(String classId)
  {
    this.classId = classId;
  }
  
  public void setPassWord(String passWord)
  {
    this.passWord = passWord;
  }
  
  public String toString()
  {
    JSONObject jsonObject = new JSONObject();
    jsonObject.accumulate("studentId", this.studentId);
    jsonObject.accumulate("teacherName", this.teacherName);
    jsonObject.accumulate("passWord", this.passWord);
    jsonObject.accumulate("classId", this.classId);
    jsonObject.accumulate("tel", this.tel);
    jsonObject.accumulate("studentName", this.studentName);
    jsonObject.accumulate("timestamp", this.timestamp);
    return jsonObject.toString();
  }
}
